<!DOCTYPE html>
<html lang="en" ng-app="MyServiceModule">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="../../css/bootstrap.css">
    <script src="../../js/angular-1.3.0.js"></script>
    <script src="MyService1.js"></script>
    <title>Title</title>
</head>
<body>
    <div ng-controller="ServiceCtrl">
        <label>用户名</label>
        <input type="text" ng-model="username" placeholder="请输入用户名">
        <pre ng-show="username">{{users}}</pre>
    </div>
</body>
</html>